<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="../../angular-1.5.8/angular.js"></script>
</head>
<body>
    <div ng-app="myApp" ng-controller="one">
        <div>{{date|date:'yyyy.MM.dd HH:mm:ss'}}</div>
    </div>
</body>
<script>
    angular.module("myApp",[])
        .controller('one',function ($scope,$filter){
            var curr=new Date();
            $scope.date=curr;
            $scope.newDate=$filter('date')(curr,'hh:mm:ss dd/MM/yyyy')
        })
</script>
</html>